package com.csx.saas.merchant.config;

//import com.csx.saas.oauth.api.LogApi;

import com.csx.basic.boot.config.BaseConfig;
import org.springframework.context.annotation.Configuration;

/**
 * 商户-Web配置
 *
 * @author ChenSongXin
 * @date 2021-02-06
 */
@Configuration
public class MerchantWebConfiguration extends BaseConfig {

    /**
     * saas.log.enabled = true 并且 saas.log.type=DB时实例该类
     */
/*    @Bean
    @ConditionalOnExpression("${saas.log.enabled:true} && 'DB'.equals('${saas.log.type:LOGGER}')")
    public SysLogListener sysLogListener(LogApi logApi) {
        return new SysLogListener(logApi::save);
    }*/
}
